package xiangmu.schoolpaper.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import xiangmu.schoolpaper.mapper.DataCompareMapper;
import xiangmu.schoolpaper.pojo.VO.DataCompareVO;
import xiangmu.schoolpaper.service.DataCompareService;

import java.util.List;

@Service
public class DataCompareServiceImpl implements DataCompareService {
    @Autowired
    private DataCompareMapper dataCompareMapper;
    @Override
    public List<DataCompareVO> getDataCompare(Integer paperId, Integer templateId, Integer teacher) {
        List<DataCompareVO> list = dataCompareMapper.getDataCompare(paperId,templateId,teacher);
        return list;
    }
}
